package com.huanmeiqi.demo.persistence.two.domain;

import java.io.Serializable;

public class TOrder implements Serializable {
    private Long id;

    private Long orderId;

    private String orderType;

    private Integer dbNo;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType == null ? null : orderType.trim();
    }

    public Integer getDbNo() {
        return dbNo;
    }

    public void setDbNo(Integer dbNo) {
        this.dbNo = dbNo;
    }

    @Override
    public String toString() {
        return "TOrder{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", orderType='" + orderType + '\'' +
                ", dbNo=" + dbNo +
                '}';
    }
}